import Vue from 'vue'
import App from './App.vue'
import './registerServiceWorker'
import router from './router'
import store from './store'

import { Button, Select, Header, Container, Main, Aside, Footer, Carousel,
CarouselItem, Breadcrumb, BreadcrumbItem, Icon, Pagination, Dialog, Form,
FormItem, Input, InputNumber, Option, Message} from 'element-ui';

Vue.use(Message);
Vue.use(Form);
Vue.use(FormItem);
Vue.use(Input);
Vue.use(InputNumber);
Vue.use(Option);
Vue.use(Button);
Vue.use(Select);
Vue.use(Header);
Vue.use(Container);
Vue.use(Main);
Vue.use(Aside);
Vue.use(Footer);
Vue.use(Carousel);
Vue.use(CarouselItem);
Vue.use(Breadcrumb);
Vue.use(BreadcrumbItem);
Vue.use(Icon);
Vue.use(Pagination);
Vue.use(Dialog);

Vue.prototype.$message = Message;

Vue.config.productionTip = true;

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
